﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel.DataAnnotations;

namespace Domain
{
    public class FormFactor
    {
        public int FormFactorId { get; set; }

        [Required]
        [StringLength(100)]
        public string NameEn { get; set; }

        [Required]
        [StringLength(100)]
        public string NameRu { get; set; }

        [Required]
        [StringLength(100)]
        public string NameAm { get; set; }

        [StringLength(255)]
        public string DescriptionEn { get; set; }


        [StringLength(255)]
        public string DescriptionRu { get; set; }


        [StringLength(255)]
        public string DescriptionAm { get; set; }

        [Required]
        public virtual ProductType Product { get; set; }

        public bool IsDefault { get; set; }

        public bool HasPergament { get; set; }

        public decimal Width { get; set; }
        public decimal Height { get; set; }

        public DateTime CreateDate { get; set; }
        
        public double CountInA4 { get; set; }
        public decimal CountInA3 { get; set; }
    }
}
